package com.campus.campusdelivery.dto;

import com.campus.campusdelivery.constant.UserRole;
import lombok.Data;

@Data
public class LoginResponse {
    
    private String token;
    private UserInfo userInfo;
    private UserRole userRole;
    
    @Data
    public static class UserInfo {
        private Long id;
        private String username;
        private String realName;
        private String phone;
        private String email;
        private String avatar;
    }
}
